package org.jeecg.common.modules.inquiry.service;

import org.jeecg.common.modules.doctor.vo.AssistantInfoReqVo;
import org.jeecg.common.modules.inquiry.entity.InquiryInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.modules.inquiry.vo.InquiryReqVo;
import org.jeecg.common.modules.patient.entity.Patient;

import java.util.List;

/**
 * @Description: inquiry_info
 * @Author: jeecg-boot
 * @Date:   2020-08-31
 * @Version: V1.0
 */
public interface IInquiryInfoService extends IService<InquiryInfo> {
    /**
     * 问诊单数量
     * @param patientId
     * @return
     */
    int getInquiryNum(String patientId);

    /**
     * 问诊单数量
     * @param patientId
     * @return
     */
    List<InquiryInfo> getInquiryList(String patientId);

    /**
     * 查询问诊信息
     * @param id
     * @param patientName
     * @param userName
     * @param doctorName
     * @param type
     * @param dataStart
     * @param pageSize
     * @return
     */
    List<InquiryReqVo> getInquiryInfo(String id, String patientName, String userName, String doctorName, String type,Integer dataStart, Integer pageSize);

    /**
     * 查询问诊信息的总数
     * @param id
     * @param patientName
     * @param userName
     * @param doctorName
     * @return
     */
    int getInquiryCount(String id, String patientName, String userName, String doctorName, String type);
}
